package com.doubi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.doubi.entity.Forward;
import com.doubi.mapper.ForwardMapper;
import com.doubi.service.ForwardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ForwardServiceImpl extends ServiceImpl<ForwardMapper, Forward> implements ForwardService {
    @Autowired
    private ForwardMapper forwardMapper;

    @Override
    public Integer recentlyForward(List<Integer> rList, String dayTime, String dayTime2) {
        return forwardMapper.recentlyForward(rList, dayTime, dayTime2);
    }

    @Override
    public Integer todayForwardNum(List<Integer> rList, String dayTime) {
        return forwardMapper.todayForwardNum(rList, dayTime);
    }
}
